﻿namespace AiFrame.InterfaceLib.InterOp
{
    /// <summary>
    /// Specifies if all elements or only the selection of elements
    /// get to be exported.
    /// </summary>
    public enum ExportSelection
    {
        /// <summary>
        /// All elements.
        /// </summary>
        All,
        /// <summary>
        /// The selected elements
        /// </summary>
        Selected
    }

    /// <summary>
    /// Represents a list view that content can be
    /// exported.
    /// </summary>
    public interface IExportableList
    {
        /// <summary>
        /// Returns the list content as a two-dimensional
        /// string array.
        /// </summary>
        /// <returns></returns>
        string[ , ] GetExportedList();
    }
}
